Tab bar
Type
widget
Summary
Tabs make it easy to explore and switch between different views.
Description
Tabs organize and allow navigation between groups of content that are related and at the same level of hierarchy.
Children Properties
Message
Name | Summary | Syntax |
---|---|---|
hiliteChanged | Sent selected tab is changed. | on hiliteChanged |
Property
Name | Summary | Syntax |
---|---|---|
itemLabels | The labels displayed by each segment | get the itemLabels of <widget> set the itemLabels of <widget> to <labelList> |
scrollingButtons | Whether the segmented widget is scrollingButtons or not | get the scrollingButtons of <widget> set the scrollingButtons of <widget> to {true | false} |
itemEnabled | The minimum width of each segment | get the itemEnabled of <widget> set the itemEnabled of <widget> to <numberList> |
showBorder | Whether the widget has a border or not | get the showBorder of <widget> set the showBorder of <widget> to { true | false } |
hilitedItemName | The currently highlighted segment names | get the hilitedItemName of <widget> set the hilitedItemName of <widget> to <nameList> |
itemMinExtents | The minimum width of each segment | get the itemMinExtents of <widget> set the itemMinExtents of <widget> to <numberList> |
itemIcons | The icons displayed by each segment | get the itemIcons of <widget> set the itemIcons of <widget> to <iconNames> |
hilitedItemIcons | The icons displayed by each segment when highlighted | get the hilitedItemIcons of <widget> set the hilitedItemIcons of <widget> to <iconNames> |
itemStyle | The segment display style | get the itemStyle of <widget> set the itemStyle of <widget> to <segmentStyle> |
itemNames | The names used to identify segments | get the itemNames of <widget> set the itemNames of <widget> to <nameList> |
indicatorPosition | The segment display style | get the itemStyle of <widget> set the itemStyle of <widget> to <segmentStyle> |
hilitedItem | The currently highlighted segment indices | get the hilitedItem of <widget> set the hilitedItem of <widget> to <indexList> |
horizontal | Whether the segmented widget is horizontal or not | get the horizontal of <widget> set the horizontal of <widget> to {true | false} |
hilitedItemLabel | The currently highlighted segment label | get the hilitedItemLabel of <widget> set the hilitedItemLabel of <widget> to <labelsList> |
cornerRadius | The corner radius of the widget | get the cornerRadius of <widget> set the cornerRadius of <widget> to <value> |
itemCount | The number of segments shown | get the itemCount of <widget> set the itemCount of <widget> to <number> |
hilitedTextColor | The label or icon color for highlighted segments | get the hilitedTextColor of <widget> set the hilitedTextColor of <widget> to <pColor> |